package com.example.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * <p>
 * 收入表
 * </p>
 *
 * @author author
 * @since 2024-10-29
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class OutcomePage extends Page implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private Integer typeKey1;

    private Integer typeKey2;

    private String description;

    @ApiModelProperty(value = "花费的大体时间")
    private LocalDate time;

    private LocalDateTime createTime;

    private Double amount;

    private Integer member;


}
